package com.gxa.admin.entity.vo;

import com.gxa.o2o.core.groups.UpdateGoods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.sql.Timestamp;

@ApiModel(value = "商品审核")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class GoodsAuditVo {

    @ApiModelProperty(value = "商品id")
    @NotBlank(message = "商品id不能为空",groups = {UpdateGoods.class})
    private String goodsId;

    /**
     * 审核状态，1已审核通过，0未审核，2审核不通过
     */
    @ApiModelProperty(value = "审核状态，1审核通过,2审核不通过")
    @NotNull(message = "审核状态，1审核通过,2审核不通过",groups = {UpdateGoods.class})
    private Integer goodsAudit;
    /**
     * 审核人
     */
    @ApiModelProperty(value = "审核人")
    @NotBlank(message = "审核人不能为空",groups = {UpdateGoods.class})
    private String goodsAuditor;

    /**
     * 审核人id
     */
    @ApiModelProperty(value = "审核人id")
    @NotNull(message = "审核人id不能为空",groups = {UpdateGoods.class})
    private Long goodsAuditorId;

    /**
     * 审核结果
     */
    @ApiModelProperty(value = "审核结果")
    @NotBlank(message = "审核结果不能为空",groups = {UpdateGoods.class})
    private String goodsAuditResult;

    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间，不用传，后台自动生成")
    private Timestamp goodsAuditTime;


}
